<?php

//判断是否来自场景体,底部菜单不变
$adminset=$this->plugin_setting('adminset');
foreach ($adminset['admins'] as $v){
    if($v['mid']==$_SESSION['uid']){
        $ispass=true;
    }
}
if(!$ispass){
   exi('管理员才能访问','error','/index/');
}
?>